﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace House_World
{
    public abstract class Transform
    {
        public Vector3 position;
        public Quaternion rotation;
        public Vector3 scale;
        protected Matrix mundo = Matrix.Identity;

        public void Translate(Vector3 pos) 
        {
            mundo *= Matrix.CreateTranslation(pos);
        }
        public void Rotate(float vel)
        {
            mundo *= Matrix.CreateRotationZ(vel);
        }
    }
}
